package com.zsrt.java.model.proxy2.ex;

public class Poxytest {
	
	public static void main(String[] args) {
		
		//目标对象
		Iuser i=new QaUser();
		
		//代理对象
	   UserProxy proxy=new UserProxy(i);
	   
	   Object pp = proxy.getProxyUser();
	   Iuser por=(Iuser)pp;
	   
	   
	   //让代理去干活
	   por.add(1, 3);
	   por.xx();
		
	}

}
